home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gimp-help-en.postinst < prev    next >
Text File  |  2008-05-03  |  560b  |  20 lines

  1. #!/bin/sh -e
  2.  
  3. # if /usr/share/doc/gimp-help-en is a directory, it's probably from an older
  4. # package, so remove it and make the symlink
  5. if [ ! -L /usr/share/doc/gimp-help-en -a  -d /usr/share/doc/gimp-help-en ];
  6. then
  7.     rmdir /usr/share/doc/gimp-help-en
  8. fi
  9.  
  10. if [ ! -e /usr/share/doc/gimp-help-en ]; then
  11.     ln -s gimp-help-common /usr/share/doc/gimp-help-en
  12. fi
  13.  
  14. # Automatically added by installdocbase
  15. if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
  16.     install-docs -i /usr/share/doc-base/gimp-help-en
  17. fi
  18. # End automatically added section
  19.  
  20.